Framework (
A-Z)
Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name |
else |
Description |
Extends the if() structure allowing the program to choose between two or more block of code. It specifies a block of code to execute when the expression in if() is false. |
Syntax |
if (expression) {
statements
} else {
statements
}
if (expression) {
statements
} else if (expression) {
statements
} else {
statements
}
|
Parameters |
expression |
any valid expression that evaluates to true or false |
statements |
one or more statements to be executed |
|
Usage |
Web & Application |
Related |
if()
|
Updated on July 07, 2011 11:08:12pm PDT